﻿@model Models.Tag

@{
    ViewBag.Title = "UpdateTag";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<a href="/admin/index" ><img src="/Content/images/back.png" /></a>
<h2>UpdateTag</h2>
@if(ViewBag.Message != null)
{
    @ViewBag.Message
}else
{
using (Html.BeginForm())
{
    @Html.ValidationSummary()
    <table id="table_admin">
        <tr>
            <td>
                name
            </td>
            <td>
                @Html.TextBoxFor(x => x.Name)
            </td>
            
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="Edit" name="subUpdateTag"/>
            </td>
           
        </tr>

    </table>
}
}